package com.atguigu.a_thread;

public class Test {
    public static void main(String[] args) {
        MyThread myThread1 = new MyThread();
        myThread1.start();
        MyThread myThread2 = new MyThread();
        myThread2.start();
        MyThread myThread3 = new MyThread();
        myThread3.start();

        for (int i = 0; i < 50; i++) {
            System.out.println(Thread.currentThread().getName()+"数量是："+i);
        }
    }
}
